package com.yunhe.authority.service.company;

import com.yunhe.authority.domain.company.CompanySupportingInfo;

/**
 * @ClassName: CompanySupportingInfoService
 * @Description:
 * @author: GongDaCheng
 * @Date: 10:33 2021/7/14
 */
public interface CompanySupportingInfoService {

    /**
     * @Description 新增企业配套信息
     * @Param Long companyId, CompanySupportingInfo companySupportingInfo
     * @Return CompanySupportingInfo
     * @Date 2021/7/14 10:42
     */
    CompanySupportingInfo save(Long companyId, CompanySupportingInfo companySupportingInfo);

    /**
     * @Description 根据企业id查询企业配套信息
     * @Param Long companyId
     * @Return CompanySupportingInfo
     * @Date 2021/7/14 14:08
     */
    CompanySupportingInfo getByCompanyId(Long companyId);

    /**
     * @Description 根据企业id解绑并删除企业配套信息
     * @Param Long companyId
     * @Return
     * @Date 2021/8/17 17:52
     */
    void unbindAndDelete(Long companyId);
}
